html {
    overflow: auto;
}

body {
    background: #fcfcfc;
    font-family: Rubik, sans-serif;
    color: #333;
}

table {
    border-collapse: collapse;
}

table.responsive {

}
td,
th {
    padding: 0.4em 2em;
    border: 1px solid #ccc;
}

@media screen and (max-width: 768px) {
    table.responsive tbody th,
    table.responsive tbody td {
        text-align: left;
        display: block;
        border: none;
    }
    table tr {
        border-top: 1px solid #ddd;
    }
}

h1 {
    font-weight: normal !important;
}

h2 {
    font-size: 1.2em;
    font-weight: normal !important;
}

.wrapper {
    max-width: 1400px;
}

/* Disallow selection on page for Editor Ranker */
.noselect {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.link {
    display: block;
    color: rgb(24, 144, 255);
    text-decoration: none;
    margin-bottom: 10px;
    margin-top: 10px;
}

.text-center {
    text-align: center;
}

.eye {
    color: rgb(24, 144, 255);
}

.trash {
    color: rgb(255, 13, 23);
}

.show-completion {
    cursor: pointer;
}

.remove-completion {
    cursor: pointer;
}

.remove-task {
    cursor: pointer;
}

.upper-right {
    position: absolute;
    top: 5px;
    right: 0;
}

.no-border {
    padding: 0;
    border: none;
    background: none;
}

a {
    text-decoration: none;
}

#header {
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 20px 10px 40px;
    position: relative;
    z-index: 100;
    box-shadow: rgba(0, 0, 0, 0.15) 0 2px 3px 0;
    margin-bottom: 3em;
}

#logo {
    font-size: 1.5em;
    line-height: 40px;
    color: #273849;
    font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    font-weight: 500;
    display: flex;
}

.img-logo {
    vertical-align: middle;
    margin-right: 6px;
    width: 40px;
    height: 40px;
}

.img-text {
    font-size: 1.4em;
}

#nav {
    list-style-type: none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 30px;
    line-height: 40px;
    display: flex;
    align-items: center;
}

#nav a {
    color: #304455;
    font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    margin-right: 1em;
    font-size: 14px;
}

#nav a:hover {
    text-decoration: underline;
}

#nav a.active {
    font-weight: bold;
}

#new-project-button:hover {
    background: #db2828 !important;
    color: white;
}

.btn {
    line-height: 1.5;
    position: relative;
    display: inline-block;
    font-weight: 400;
    white-space: nowrap;
    text-align: center;
    background-image: none;
    cursor: pointer;
    -webkit-transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    padding: 10px 25px;
    font-size: 14px;
    border-radius: 4px;
    color: rgba(0, 0, 0, 0.65);
    color: #fff;
    background-color: #1890ff;
    border-color: #1890ff;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.12);
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.045);
    margin-right: 10px;
    padding-top: 7px;
}

.delim {
    color: #89ac00;
    margin-right: 1em;
    font-weight: bold;
}

.word-break {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word !important;
}

div.task-buttons .button {
    margin: 10px
}

/* editor width */
#label-studio {
    width: 100%;
    max-width: 1440px;
    padding-left: 1em;
    padding-right: 1em;
    margin: 0 auto;
}

#label-studio div[class^="App_editor"],
div[class*="App_editor"] {
    width: 100% !important;
}


/* Import */


.upload-row-error {
    margin-top: 0.5%;
}

.upload-row-error .code {
    display: block;
    font-size: 85%;
}

.upload-row-error * {
    display: inline-block;
}

.help-button, .settings-button {
    padding: 0.80571429em 0.7em 0.80571429em !important;
}

#holder {
    display: table;
    border: 1px dashed #a2a2a2;
    border-radius: 8px;
    width: 100%;
    height: 150px;
    transition: border 0.4s, color 0.4s;
    cursor: pointer;
}

#holder.hover, #holder:hover {
    border-color: rgb(24, 144, 255);
}

#holder .text {
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    color: gray;
    transition: color 0.4s;
}

#holder .text i {
    opacity: 0.35;
    margin-bottom: 0.1em;
    transition: color 0.4s, opacity 0.4s;
}

#holder.hover .text {
    color: #1f7834;
}

#holder.hover .text i {
    color: #1F7834;
    opacity: 1;
}

.top-margin-none {
    margin-top: 0 !important;
}

.message a.no-go {
    text-decoration: none;
    border-bottom: 1px dashed #5994cb;
}

/* Import Finish */

/* semantic ui pretty */

.ui .segment {
    box-shadow: none !important;
}

.ui .button {
    font-weight: 400 !important;
    transition: background-color ease-in-out 0.25s, border ease-in-out 0.5s;
}
.ui .button.positive {
    background: rgb(24, 144, 255) !important;
    color: #fff !important;
    border-color: rgb(24, 144, 255) !important;
    transition: background-color ease-in-out 0.25s;
}
.ui .button.positive:hover {
    background: rgb(54, 162, 255) !important;
    transition: background-color ease-in-out 0.25s;
}
.ui .button {
    transition: 0.3s;
}
.ui .button:hover {
    transition: 0.3s;
}

.ui h3 {
    font-weight: 400;
}

.ui .accordion .title {
    font-size: 16px !important;
}

.ui .message {
    background: none !important;
    box-shadow: 0 0 0 1px rgba(34, 36, 38, .15) !important;
}

.ui .message .header {
    font-weight: normal !important;
}

.ui.message .content:first-of-type {
    margin-top: 0 !important;
}
.ui .message .content {
    margin-top: 0.7em;
}

.ui ul, ol {
    list-style: none !important;
    margin: 1em 0 0 2em;
}

.ui ul li::before {
    content: "\2022";
    color: rgba(0, 0, 0, 0.4) !important;
    font-weight: normal;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.ui .label.basic {
    font-weight: normal;
}

.ui .x.icon {
    width: 2em;
    height: auto;
}

.ui .pagination.menu {
    box-shadow: none;
}

.ui.modal {
    box-shadow: none !important;
}
.ui.modal>.header {
    font-weight: normal !important;
    background: none;
}
.ui.modal>.actions {
    background: none !important;
    padding-top: 12px !important;
    padding-bottom: 6px !important;;
}
.ui.modal>.icon.close {
    color: #555;
}

.ui.form label {
    font-weight: normal !important;
}

.ui.dimmer {
    background-color: rgba(0,0,0,0.7) !important;
}

.ui.list .item.error {
    color: #9f3a38;
    margin-left: 1em;
    font-size: 0.85em;
}

.ui .toast.error {
    background-color: rgba(255, 0, 0, 0.85) !important;
}

/* semantic ui pretty finish */

/* label config */

.editor-iframe {
    display: none;
    width: 100%;
    overflow: hidden !important;
    border: none;
}

pre {
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap;
    white-space: -pre-wrap;
    white-space: -o-pre-wrap;
    word-wrap: break-word;
}

/* label config finish */

.category .icon {
    color: #777;
}

.statistic .value small {
    font-size: 65%;
}
.statistic .sub-label {
    margin-top:7px;
    color: #555;
}


@media only screen and (max-width: 890px) {
    #logo {
        font-size: 1.5em;
        line-height: 40px;
        color: #273849;
        font-family: "Dosis", "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
        font-weight: 500;
        display: flex;
    }

    .img-text {
        display: none;
    }

    #header {
        padding: 5px 3px 5px 5px;
    }

    #nav {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        flex-direction: row;
        right: 1px;
    }

    #logo {
        display: inline-flex;
    }

}

@media only screen and (max-width: 650px) {
    #logo {
        display: none;
    }

    #header {
        height: 80px;
        display: flex;
        justify-content: center;
    }
}

.sup-button {
    position: relative;
    top: 2px;
    cursor: pointer;
    font-size: 0.75em;
    color: rgb(24, 144, 255);
    transition: background-color ease-in-out 0.25s;
}
.sup-button.big {
    font-size: 1.25em !important;
}

.sup-button:hover {
    color: rgb(54, 162, 255);
    transition: background-color ease-in-out 0.25s;
}
